import request from '@/utils/request'


// 查询用户列表

export function listUser(query) {
    return request({
      url: '/users/page',
      method: 'get',
      params: query
    })
}

// 查询用户关注

export function userFollow(query) {
  return request({
    url: '/users/:' + query.userId + '/followings',
    method: 'get',
    params: query
  })
}